﻿using Microsoft.Rest;

namespace XSot.BitBrowser.LocalApiClient
{
    public class HttpResult : HttpOperationResponse
    {
        public bool Success { get; set; }

        public string? Message { get; set; }

        public Exception? Error { get; set; }

        public string? ResponseText { get; set; }
    }

    public class HttpResult<T> : HttpResult
    {
        public T Body { get; set; } = default!;
    }
}